//
//  RestaurantBanquetHall.swift
//  FeastBooking
//
//  Created by Imon on 2017/10/6.
//  Copyright © 2017年 Imon. All rights reserved.
//

import Foundation
import ObjectMapper

class RestaurantBanquetHall: Mappable {
    
    var area: Double?
    var id: Int?
    var minimunPrice: Double?
    var name: String?
    var pictureUrl: String?
    var tableRange: [Int]?
    
    required init?(map: Map) {
        
    }
    
    init(id: Int, name: String) {
        self.id = id
        self.name = name
    }
    
    func mapping(map: Map) {
        area <- map["area"]
        id <- map["id"]
        minimunPrice <- map["minimumPrice"]
        name <- map["name"]
        pictureUrl <- map["pictureUrl"]
        tableRange <- map["tableRange"]
    }
}
